// The MIT License (MIT)
//
//  Created by 我是好人 on 2023/2/23.
//


#if __has_feature(modules)
@import UIKit;
#else
#import <UIKit/UIKit.h>
#endif

FOUNDATION_EXPORT double UITextView_PlaceholderVersionNumber;
FOUNDATION_EXPORT const unsigned char UITextView_PlaceholderVersionString[];

@interface UITextView (Placeholder)

@property (nonatomic, readonly) UITextView *placeholderTextView NS_SWIFT_NAME(placeholderTextView);
/**设置textview的placeholder(String)*/
@property (nonatomic, strong) IBInspectable NSString *placeholder;
/**设置textview的placeholder(AttrString)*/
@property (nonatomic, strong) NSAttributedString *attributedPlaceholder;
/**设置textview的placeholder的颜色*/
@property (nonatomic, strong) IBInspectable UIColor *placeholderColor;

/**获取textview默认的placeholder的颜色*/
+ (UIColor *)defaultPlaceholderColor;

@end
